home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat3
/
Tcl
/
allowexc.z
/
allowexc
Wrap
Text File
|
1998-10-30
|
2KB
|
67 lines
TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss((((3333TTTTccccllll)))) TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss((((3333TTTTccccllll))))
NNNNAAAAMMMMEEEE
Tcl_AllowExceptions - allow all exceptions in next script evaluation
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss(_i_n_t_e_r_p)
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
Tcl_Interp *_i_n_t_e_r_p (in) Interpreter in which script will be
evaluated.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
If a script is evaluated at top-level (i.e. no other scripts are pending
evaluation when the script is invoked), and if the script terminates with
a completion code other than TCL_OK, TCL_CONTINUE or TCL_RETURN, then Tcl
normally converts this into a TCL_ERROR return with an appropriate
message.
However, if TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss is invoked immediately before calling a
procedure such as TTTTccccllll____EEEEvvvvaaaallll, then arbitrary completion codes are permitted
from the script, and they are returned without modification. This is
useful in cases where the caller can deal with exceptions such as
TCL_BREAK or TCL_CONTINUE in a meaningful way.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
continue, break, exception, interpreter
PPPPaaaaggggeeee 1111